package com.ss.android.article.base.app;

import com.ss.android.article.base.feature.app.a.ArticleConstants;
import com.ss.android.common.util.NetworkUtils;
import org.json.JSONObject;

final class b implements Runnable {
    private final AppData a;

    b(AppData arg1) {
        this.a = arg1;

    }

    public final void run() {
        try {
            String resp = NetworkUtils.doGet(20480, ArticleConstants.hintInfoOpenPushSettingsUrlV1);
            if(android.support.design.a.isTextEmpty(resp)) {
                return;
            }

            a.a(this.a, new JSONObject(resp).optJSONObject("data").optString("desc"));
            a.a(this.a, System.currentTimeMillis());
        }
        catch(Exception v0_1) {
            v0_1.printStackTrace();
        }
    }
}

